projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b98f4
)
GtkIconInfo: Small struct packing improvement
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Jun 2014 15:01:43 +0000
(11:01 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Jun 2014 15:52:11 +0000
(11:52 -0400)
This makes the GtkIconInfo struct a bit smaller.
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index 1ea892e234a51488206a9f9b1777f292c26efb3c..da5a8272f1f22cfecc3d70c9d569c63880969ccb 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-244,7
+244,6
@@
struct _GtkIconInfo
gint dir_scale;
gint min_size;
gint max_size;
- gdouble unscaled_scale;
/* Parameters influencing the scaled icon
*/
@@
-261,6
+260,7
@@
struct _GtkIconInfo
GdkPixbuf *pixbuf;
GdkPixbuf *proxy_pixbuf;
GError *load_error;
+ gdouble unscaled_scale;
gdouble scale;
SymbolicPixbufCache *symbolic_pixbuf_cache;